Use 'revert-function' in *xref* buffer
authorEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 16:51:32 +0000 (18:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 20:59:42 +0000 (22:59 +0200)
commit82125b1a6616259531ef3abd45b41089de160ba7
tree24b7d8b9b04d35e0ca97c01ca8166354ae40b369
parent860840621a1ebe2e4f17ba8ae78d441ea75650b2
Use 'revert-function' in *xref* buffer

* lisp/progmodes/xref.el (xref--xref-buffer-mode-map): Cease
binding 'g' to 'xref-revert-buffer'.
(xref--xref-buffer-mode): Set 'revert-buffer-function' to...
(xref--revert-buffer): ...this.  New function, renamed from...
(xref-revert-buffer): ...this.  Make it an alias of
'revert-buffer'.
* etc/NEWS: Announce it.
* doc/emacs/maintaining.texi (Xref Commands): Update docs.
doc/emacs/maintaining.texi
etc/NEWS
lisp/progmodes/xref.el